package com.ailanyin.system.config;


import com.ailanyin.common.swagger.config.BaseSwaggerConfig;
import com.ailanyin.common.swagger.config.SwaggerProperties;
import org.springframework.context.annotation.Configuration;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * Knife4j 接口文档配置
 *
 * @author ailanyin
 * @version 1.0
 * @since 2021/10/15 0015 下午 16:43
 */
@Configuration
@EnableSwagger2
public class Knife4jConfig extends BaseSwaggerConfig {

    @Override
    public SwaggerProperties swaggerProperties() {
        return SwaggerProperties.builder()
                .apiBasePackage("com.ailanyin.system.controller")
                .title("后台管理系统")
                .description("后台管理系统")
                .contactName("ailanyin")
                .version("1.0")
                .enableSecurity(true)
                .build();
    }

}
